Web API Core | ComponentOne
C1.Web.Api.Configuration Namespace / Manager<T> Class / TryGet Method
The item key.
The item

In This Topic
    TryGet Method (Manager<T>)
    In This Topic
    Try to get the instance which is mapped to the specified key.
    Syntax
    'Declaration
     
    
    Public Function TryGet( _
       ByVal key As String, _
       ByRef value As T _
    ) As Boolean
    public bool TryGet( 
       string key,
       out T value
    )

    Parameters

    key
    The item key.
    value
    The item

    Return Value

    true if contains an element with the specified key; otherwise, false.
    See Also